﻿
using BestTrader.Cms.ViewModels;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BestTrader.Cms.Core.Extensions;

namespace BestTrader.Cms.Admin.Validation
{
    public class ManagerDataValidation : AbstractValidator<ManagerModifyDataModel>
    {
        public ManagerDataValidation()
        {
            RuleFor(x => x.UploadImages).NotNull().WithMessage("用户图片资料不能为空");
            //RuleFor(x => x.UploadImages).().WithMessage("用户图片资料不能为空");
        }
    }
}
